package com.example.model.page;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class PageParam {
    @Schema(description = "当前页码", required = false, example = "1")
    private int page;
    @Schema(description = "每页显示记录数", required = false, example = "10")
    private int limit;
    @Schema(description = "排序字段", required = false)
    private String orderField;
    @Schema(description = "排序方式", required = false, example = "desc")
    private String order;
}
